import React, { lazy } from 'react'
const home = lazy(() => import('../pages/home'))
const login = lazy(() => import('../pages/login'))
const search = lazy(() => import('../pages/search'))
const sign = lazy(() => import('../pages/sign'))
const tag = lazy(() => import('../pages/tag'))

const routes = [{
	path: '/',
	element: home
},{
	path: '/login',
	element: login
},{
	path: '/search',
	element: search
},{
	path: '/sign',
	element: sign
},{
	path: '/tag',
	element: tag
}]


export default routes